package com.hjm.system.service.exam;

import com.hjm.system.domain.exam.dto.ExamSaveDTO;
import com.hjm.system.domain.exam.dto.ExamQueryDTO;
import com.hjm.system.domain.exam.dto.ExamQuestionAddDTO;
import com.hjm.system.domain.exam.vo.ExamDetailVO;
import com.hjm.system.domain.exam.vo.ExamVO;

import java.util.List;

public interface ExamService {
    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    String add(ExamSaveDTO examAddDTO);

    boolean addQuestion(ExamQuestionAddDTO queryDTO);

    ExamDetailVO detail(Long examId);


    boolean deleteQuestion(Long examId, Long questionId);

    int delete(Long examId);

    int publish(Long examId);

    int cancelPublish(Long examId);


    int edit(ExamSaveDTO examAddDTO);

    int check(Long examId);

}
